package com.ly.demo.weixin.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @description: 微信小程序配置
 * @author: nieguochen
 * @date: 2024/1/15 14:06
 */
@Configuration
@Getter
public class WeixinProperties {
    /**
     * 小程序ID
     */
    @Value("${weixin.appid:}")
    private String appid;
    /**
     * 小程序密钥
     */
    @Value("${weixin.appsecret:}")
    private String secret;
    @Value("${weixin.token}")
    private String token;

    @Value("${weixin.qr-code-url-prefix}")
    private String qrCodeUrlPrefix;
}
